class GroupInfo {
  int? id;
  int? createAt;
  int? userId;
  String? name;
  String? notice;

  GroupInfo({this.id, this.createAt, this.userId, this.name, this.notice});

  GroupInfo.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    createAt = json['createAt'];
    userId = json['userId'];
    name = json['name'];
    notice = json['notice'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['createAt'] = this.createAt;
    data['userId'] = this.userId;
    data['name'] = this.name;
    data['notice'] = this.notice;
    return data;
  }
}